body{
    background: #efefef;
    margin: 0;/* 去掉body自带的边框宽度*/
}

a{
    color: inherit;/* 继承上级属性*/
    text-decoration: none;/* 去掉下面标线*/
}

*{
    margin: 0;
    padding: 0;
}

hr{
    height: 0;
    border: none;
    border-top: 1px solid #dedede;
}

.clearfix::after{
    content: '';
    display: block;
    clear: both;
}

.top-Nav-Bar{
    padding-top: 20px; 
    padding-bottom: 20px; 
    padding-left: 0px;
    padding-right: 0px;
    /*等价于padding:20px 16px 20px 16px (按照上右下左的顺时针方式) */
    position: fixed;/*脱离文档流（body计算高度时不计算导航栏的高度）*/
    width: 100%;
}

.top-Nav-Bar-inner{
    padding: 0 16px;/*表示上下0px,左右16px*/
}

.top-Nav-Bar nav{
    padding-top: 8px;
    padding-bottom: 0px;
}

.top-Nav-Bar nav>ul{
    list-style: none; 
    margin: 0;
    padding: 0;
}

.top-Nav-Bar nav>ul>li{
    float: left;  /*向左浮动*/
    margin-left: 17px;
    margin-right: 17px;
}

.top-Nav-Bar nav>ul>li>a{
    font-size: 12px;
    color: #B7B7B7; 
    font-weight: bold;
    border-top: 3px solid transparent;/*边框隐身*/
    border-bottom: 3px solid transparent;
    padding-top: 5px;
    padding-bottom: 5px;
    display: block; /* 将a元素转换为块级元素，此处用于导航条的排列*/
}

.top-Nav-Bar nav>ul>li>a:hover{
    border-bottom: 3px solid #e06567;

}

.top-Nav-Bar .top-Nav-Bar-inner .logo{
    font-size: 24px;
    font-family: "Arial Blcak";
    padding-top: 6px;
    padding-bottom: 3px;

}

.top-Nav-Bar .logo .rs{ 
    margin-right: 4px;
    color: #E6686A;

}

.top-Nav-Bar .logo .card{
    color: #9A9DA2;
}

.banner{
    background-image: url(https://resatrt.github.io/demo/rs-cover-1.jpg);
    height: 515px;
    background-position:center center;/* X和Y居中*/
    background-size: cover; /*盖住背景所有的面积按比例缩放*/
}

.banner .mask{
    height: 515px;
    background-color: rgba(0,0,0,0.7);
}

.userCard{
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
}

.userCard .welcome{
    background: #e8886a;
    color: white;
    display: inline-block;
    padding: 4px 16px;
    line-height: 22px;
    position: relative;/*将自身作为absolute的定位参照物*/
    margin-bottom: 10px;
}

.userCard .welcome .triangle{
    border:10px solid transparent ; 
    width:0px;
    border-left-color:#e8886a;
    border-top-width:0;
    display: block;
    position: absolute;/*以祖先第一个relative定位*/
    top: 100%;/*距离hello边框上边缘，因为是以整个hello定位的*/
    left: 5px;
}
.userCard .text p{
    padding-top: 5px;

}

.userCard .picture{
    float: left;
}

.userCard .text{
    float: left;
    margin-left: 60px;
    width: 480px;
}

.userCard .text h1{
    margin-top: 18px;
}

.userCard .text hr{
    margin: 20px 0;
}

.userCard .pAt{
    padding: 50px;

}

.userCard dl dt,
.userCard dl dd{
    float: left;
    padding: 5px 0;
}

.userCard dl dt{
    width: 30%;
    font-weight: bold;
}

.userCard dl dd{
    width:70%;  
    color: #9da0a7;
}   

.userCard .media{
    background-color: #E8676B;
    text-align: center;
}

.userCard .media >a{
    display: inline-block;
    width: 40px;
    line-height: 30px;
    padding: 5px 0;
    border-radius: 50%;
    margin: 16px 15px;
}

.userCard .media >a:hover{
    background:#D05C60;

}

.userCard svg{
    width: 30px;
    height: 30px;
    fill: green;
    vertical-align: top;
}
